﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CJ_Logging.Configuration.Config
{
    public class SendMailConfig : BaseConfig
    {
        /// <summary>
        /// 收件地址
        /// </summary>
        public string MailTo { get; set; }
        /// <summary>
        /// 发件地址
        /// </summary>
        public string MailFrom { get; set; }
        /// <summary>
        /// 发件人名称
        /// </summary>
        public string MailDisplayName { get; set; }
        /// <summary>
        /// 邮件标题
        /// </summary>
        public string MailTitle { get; set; }
        /// <summary>
        /// SMTP主机地址
        /// </summary>
        public string SmtpHost { get; set; }
        /// <summary>
        /// SMTP用户名
        /// </summary>
        public string SmtpUserName { get; set; }
        /// <summary>
        /// SMTP密码
        /// </summary>
        public string SmtpPassword { get; set; }
        /// <summary>
        /// 是否为异步发送
        /// </summary>
        public bool IsSendAsync { get; set; }
        /// <summary>
        /// 是否支持HTML格式
        /// </summary>
        public bool IsBodyHtml { get; set; }
    }
}
